package com.xc.sys.framework.sitemesh;

import org.sitemesh.builder.SiteMeshFilterBuilder;
import org.sitemesh.config.ConfigurableSiteMeshFilter;

/**
 * sitemesh 自定义配置
 * @author xiaojf 2017/12/21 16:12
 */
public class SitemeshFilter extends ConfigurableSiteMeshFilter {
    @Override
    protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {
        builder.addDecoratorPath("/rooter**", "/decorator/default")
//              //  .addExcludedPath("layuiadmin/**")
                .addTagRuleBundle(new MyTagRuleBundle());
    }
}
